'''
一些文件相关工具，
使用:在system中添加文件路径，from...import...即可
'''
import os

'''
用于路径检测
'''
def check_path(path:str):
    assert os.path.exists(path), f"path '{path}' does not exists."


'''
用于路径s检测
'''
def check_paths(paths:str):
    for i in paths:
        if os.path.exists(i) is False:
            raise FileNotFoundError(f"file {i} does not exists.")
